package com.xuyoupeng.springlearn.bean.aop;


import com.xuyoupeng.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author xuyoupneg
 * @description TODO
 * @date 2024/4/30 15:49
 */
public class CustomerServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("拦截方法：" + method.getName());
    }
}
